package vip.xianz.jobmanager.data.entity;

import java.io.Serializable;
import java.time.Instant;
import java.util.Date;

/**
 *  用户登录日志
 * @author xian5
 *
 */
public class UserLoginLog implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
     * 登录日志ID
     */
    private String logId;

    /**
     * 登录时间
     */
    private Instant loginTime;

    /**
     * 登录IP
     */
    private String userIp;

    /**
     * 管理员ID
     */
    private String userId;

    /**
     * 操作系统
     */
    private String os;

    /**
     * 浏览器
     */
    private String browser;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId == null ? null : logId.trim();
    }

    public Instant getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Instant loginTime) {
        this.loginTime = loginTime;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp == null ? null : userIp.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os == null ? null : os.trim();
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser == null ? null : browser.trim();
    }
}